import { Base } from '../../utils/base.js';
class Coupon extends Base {
  constructor() {
    super();
  }
//   优惠券列表
  getCouponList(params, callback) {
    var url = '/ddaigo-platform/coupon/receiveList';
    this.commonRequest(url, params, callback);
  }
//   领取优惠券
  getCoupon(params, callback) {
      var url = '/ddaigo-platform/coupon/receive';
      this.commonRequest(url, params, callback);
  }
}

module.exports = {
  Coupon
}